<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" enableeventvalidation="false" inherits="EmployeePolicy, App_Web_uxrncow4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">

    <style type="text/css">
        .textbox
        {
        }
        .btnRt003366
        {
        }
        .style17
        {
            font-family: Verdana;
            font-size: 8pt;
        }
        .breadcrumb
        {
                display: flex;
    flex-wrap: wrap;
    padding: 0.11rem 0rem !important;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #fff !important;
    border-radius: .25rem;
    color: #E15C11;
    font-size: 17px;
    font-weight:400;
}
        
  .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
    margin-top: -37px;
    padding: 7px !important;
}
#MainContent_RdCutLeave
{
  margin-top: 0px;
    position: relative;
    left: -6px;  
}
#MainContent_RdCutDays
{
    position: relative;
    left: -6px;
}
#MainContent_RadioButton1
{
    position: relative;
    left: -6px;
    top:0px;
}

#MainContent_RadioButton2
{
    position: relative;
    left: -6px;
    top:0px;
}
#MainContent_ChkShowLunchAsOt
{
    position: relative;
    left: 0px;
    top:3px;
}
#MainContent_lblOvertimeAllowIgnoreOvertime
{
    margin-left: -7px;
}
.card-body span
{
    font-size: 13px;
    font-weight: 600;
}
.container .card
{
    margin-top:-30px;
}
.form-check, label {
 
    top: 0px !important; 
}
#MainContent_lblEnableLateCommingSetting
{
    position:relative;
    top:-3px;
}
#MainContent_lblCutDays
{
        margin-left: -13px;
}
.bold-fonts label
{
    font-weight:bold !important;
    font-size:13px !important;
}
#MainContent_lblHalfDayAbsentForLateArrivalEarlyDepartur
{
    font-size:15px !important;
    color: #E15C11;
}
#MainContent_lblOtherEmployeePolicyDetails
{
    font-size:15px !important;
    color: #E15C11;
  
}
.emp_policy_panel
{
    width:100% !important;
}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
  
    <script type="text/javascript">
        ddaccordion.init({
            headerclass: "expandable", //Shared CSS class name of headers group
            contentclass: "submenu", //Shared CSS class name of contents group
            collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
            defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
            animatedefault: false, //Should contents open by default be animated into view?
            persiststate: true, //persist state of opened contents within browser session?
            toggleclass: ["", "openheader"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
            togglehtml: ["suffix", "<img src='images/plus3.gif' class='statusicon' />", "<img src='images/minus3.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
            animatespeed: "normal" //speed of animation: "fast", "normal", or "slow"

        })
        function validate() {
            var txttext = document.getElementById("<%= txtpolicyname.ClientID %>").value;
            if (txttext == "") {
                alert("Please Enter Policy Name");
                document.getElementById("<%= txtpolicyname.ClientID %>").focus();
                return false;
            }

            var txtlatearrival = document.getElementById("<%= txtlatearrival.ClientID %>").value;
            if (txtlatearrival == "") {
                alert("Please Enter Late Arrival");
                document.getElementById("<%= txtlatearrival.ClientID %>").focus();
                return false;
            }

            var txtearlydeparture = document.getElementById("<%= txtearlydeparture.ClientID %>").value;
            if (txtearlydeparture == "") {
                alert("Please Enter Early Departure");
                document.getElementById("<%= txtearlydeparture.ClientID %>").focus();
                return false;
            }

            var txtdurationformakingpresent = document.getElementById("<%= txtdurationformakingpresent.ClientID %>").value;
            if (txtdurationformakingpresent == "") {
                alert("Please Enter duration formaking present");
                document.getElementById("<%= txtdurationformakingpresent.ClientID %>").focus();
                return false;
            }

            var txtmaxworkinghourhalf = document.getElementById("<%= txtmaxworkinghourhalf.ClientID %>").value;
            if (txtmaxworkinghourhalf == "") {
                alert("Please Enter max working hour half Day");
                document.getElementById("<%= txtmaxworkinghourhalf.ClientID %>").focus();
                return false;
            }

            var txtmaxabsentsortday = document.getElementById("<%= txtmaxabsentsortday.ClientID %>").value;
            if (txtmaxabsentsortday == "") {
                alert("Please Enter   absent sortday");
                document.getElementById("<%= txtmaxabsentsortday.ClientID %>").focus();
                return false;
            }


            return true;
        }
   
    </script>

      <div class="main-panel">
        <div class="content">
        <div class="container" id="Employeepolicy" runat="server">


            <div class="row dash-pane2">	

            <div class="card">
                <div class="card-header card-header-warning" id="cardheadergreen" runat="server">
                  <h4 class="card-title"> <i class="fa fa-file"></i> <asp:Label ID="lblEmployeesPolicyDetails" runat="server" Text=" Employee's Policy Details"></asp:Label></h4>
                </div>
                <div class="card-body ">
                 <div class="row" style="line-height:18px;">
                    <div class="row" style="width:100%; margin-left:0px; margin-right:0px;">
                      <div class="col-md-2">
                        <b>
                            <asp:Label ID="lblPolicyName" runat="server" Text="Policy Name"></asp:Label>
                            *</b>
                        <%--<select class="form-control"><option></option><option></option></select>--%>
                        <asp:TextBox ID="txtpolicyname" runat="server" class="form-control" TabIndex="1"></asp:TextBox>
                    </div>
                        <div class="col-sm-2">
                        <b>
                            <asp:Label ID="lblPermittedLateArrival" runat="server" Text="Permitted Late Arrival"></asp:Label></b>
                        
                        <asp:TextBox ID="txtlatearrival" runat="server" class="form-control">00:00</asp:TextBox>
                    </div>
                         
                         <div class="col-md-2">
                        <b style="font-size:13px;">
                            <asp:Label ID="lblPermitedEarlyDeparture" runat="server" Text="Permited Early Departure"></asp:Label></b>
                      
                        <asp:TextBox ID="txtearlydeparture" runat="server" class="form-control">00:00</asp:TextBox>
                    </div>
                     <div class="col-md-3">
                        
                        <b>
                            <asp:Label ID="lblMarkasHalfDayifworkinghourLessThan" runat="server" Text="Mark as Half Day if working hour Less Than"></asp:Label></b>
         
                        
                        <asp:TextBox ID="txtdurationformakingpresent" runat="server" class="form-control"
                            AutoPostBack="true" OnTextChanged="txtdurationformakingpresent_changed">00:00</asp:TextBox>
                    </div>
                      <div class="col-md-3">
                        <b>
                            <asp:Label ID="lblMarkasAbsentifworkinghourLessThan" runat="server" Text="Mark as Absent if working hour Less Than "></asp:Label></b>
                       
                        &nbsp;<asp:TextBox ID="txtmaxabsentsortday" runat="server" TabIndex="7" class="form-control">00:00</asp:TextBox>
                    </div>


                    </div>
               
                    <div class="col-lg-12" style="margin-top: 10px; display:none">
                  
                                <asp:Label ID="lblAdvancedEmployeePolicyDetails" runat="server" Text="Advance Employee Policy Details"></asp:Label>
                    </div>
            
            
                    <div class="col-md-3" style="display:none;">
                       
                        <asp:TextBox ID="txtmaxworkinghour" runat="server" TabIndex="4" class="form-control"
                            Visible="False">08:00</asp:TextBox>
                    </div>
    
               
                    <div class="col-md-3" style="display: none;">
                        <b>Max.Working Hour For Half day</b>
                       
                        <asp:TextBox ID="txtmaxworkinghourhalf" runat="server" class="form-control" TabIndex="6">00:00</asp:TextBox>
                    </div>
             
                  
                    <div class="col-lg-12 panel-heading" style="margin-top: 12px; margin-bottom:5px;padding:7px;background-color:rgba(255, 112, 56, 0.98) !important;">
 
                                <asp:Label ID="lblHalfDayAbsentForLateArrivalEarlyDepartur" runat="server" Text="Late Comming Rule" ForeColor="#FFFfff"></asp:Label>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="chkativelate" runat="server" TabIndex="12"   />&nbsp;<asp:Label ID="Label5" runat="server" Text="Active For Week OFF also" ForeColor="#ffffff"></asp:Label>
                    </div>
                    <div class="col-md-3">
                        <div class="row"><div class="col-3"><span style="font-weight:800;">Late 1:</span></div><div class="col-9">
                        <b><asp:Label ID="lblLateArrival" runat="server" Text="Late Arrival"></asp:Label></b>[HH:MM]
                    
                        <asp:TextBox ID="txtlate1" runat="server" class="form-control" TabIndex="2" Width="110px">00:00</asp:TextBox></>
                        <b> <asp:Label ID="Label1" runat="server" Text="Deduct Day(%)"></asp:Label></b>
                   
                        <asp:DropDownList ID="cbolateded1" runat="server" class="form-control" Width="110px" >
                            <asp:ListItem Value="0">None</asp:ListItem>
                            
                            <asp:ListItem>10</asp:ListItem>
                           
                            <asp:ListItem>20</asp:ListItem>
                           
                            <asp:ListItem>30</asp:ListItem>
                            
                            <asp:ListItem>40</asp:ListItem>
                            
                            <asp:ListItem>50</asp:ListItem>
                          
                            <asp:ListItem>60</asp:ListItem>
                            
                            <asp:ListItem>70</asp:ListItem>
                            
                            <asp:ListItem>80</asp:ListItem>
                             
                            <asp:ListItem>90</asp:ListItem>
                            
                            <asp:ListItem>100</asp:ListItem>
                        </asp:DropDownList>
                        </div>
                        </div>
                    </div>
                    <div class="col-md-3">
                        <div class="row"><div class="col-3"><span style="font-weight:800;">Late 2: </span></div><div class="col-9">
                        <b><asp:Label ID="Label2" runat="server" Text="Late Arrival"></asp:Label></b>[HH:MM]
                       
                        <asp:TextBox ID="txtlate2" runat="server" class="form-control" TabIndex="2" Width="110px">00:00</asp:TextBox></>
                        <b> <asp:Label ID="lblShowAsforLateArrival" runat="server" Text="Deduct Day(%)"></asp:Label></b>
                  
                        <asp:DropDownList ID="cbolateded2" runat="server" class="form-control" Width="110px">
                            <asp:ListItem Value="0">None</asp:ListItem>
                            
                           <asp:ListItem>10</asp:ListItem>
                           
                            <asp:ListItem>20</asp:ListItem>
                           
                            <asp:ListItem>30</asp:ListItem>
                            
                            <asp:ListItem>40</asp:ListItem>
                            
                            <asp:ListItem>50</asp:ListItem>
                          
                            <asp:ListItem>60</asp:ListItem>
                            
                            <asp:ListItem>70</asp:ListItem>
                            
                            <asp:ListItem>80</asp:ListItem>
                             
                            <asp:ListItem>90</asp:ListItem>
                            
                            <asp:ListItem>100</asp:ListItem>
                        </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-3">
                        <div class="row"><div class="col-3"><span style="font-weight:800;">Late 3:</span></div><div class="col-9">
                        <b> <asp:Label ID="lbllatearrival3" runat="server" Text="Late Arrival"></asp:Label> </b>[HH:MM]
                        
                        <asp:TextBox ID="txtlate3" runat="server" TabIndex="4" class="form-control" Width="110px">00:00</asp:TextBox>
                        <b> <asp:Label ID="Label3" runat="server" Text="Deduct Day(%)"></asp:Label></b>
                      
                        <asp:DropDownList ID="cbolateded3" runat="server" class="form-control" Width="110px">
                           <asp:ListItem Value="0">None</asp:ListItem>
                            
                           <asp:ListItem>10</asp:ListItem>
                           
                            <asp:ListItem>20</asp:ListItem>
                           
                            <asp:ListItem>30</asp:ListItem>
                            
                            <asp:ListItem>40</asp:ListItem>
                            
                            <asp:ListItem>50</asp:ListItem>
                          
                            <asp:ListItem>60</asp:ListItem>
                            
                            <asp:ListItem>70</asp:ListItem>
                            
                            <asp:ListItem>80</asp:ListItem>
                             
                            <asp:ListItem>90</asp:ListItem>
                            
                            <asp:ListItem>100</asp:ListItem>
                        </asp:DropDownList>
                        </div>
                        </div>
                    </div>
                    <div class="col-md-3">
                        <div class="row"><div class="col-3"><span style="font-weight:800;">Late 4:</span></div><div class="col-9">
                        <b><asp:Label ID="lblLateArrival4" runat="server" Text="Late Arrival"></asp:Label></b>[HH:MM]
                      
                        <asp:TextBox ID="txtlate4" runat="server" class="form-control" TabIndex="2" Width="110px">00:00</asp:TextBox>
                        <b> <asp:Label ID="lblShowAsforlatearrival4" runat="server" Text="Deduct Day(%)"></asp:Label></b>
                         
                     
                        <asp:DropDownList ID="cbolateded4" runat="server" class="form-control" Width="110px">
                            <asp:ListItem Value="0">None</asp:ListItem>
                             <asp:ListItem>10</asp:ListItem>
                           
                            <asp:ListItem>20</asp:ListItem>
                           
                            <asp:ListItem>30</asp:ListItem>
                            
                            <asp:ListItem>40</asp:ListItem>
                            
                            <asp:ListItem>50</asp:ListItem>
                          
                            <asp:ListItem>60</asp:ListItem>
                            
                            <asp:ListItem>70</asp:ListItem>
                            
                            <asp:ListItem>80</asp:ListItem>
                             
                            <asp:ListItem>90</asp:ListItem>
                            
                            <asp:ListItem>100</asp:ListItem>
                        </asp:DropDownList>
                        </div>
                        </div>
                    </div>


                    <div class="col-lg-12 panel-heading" style="margin-top: 12px; margin-bottom:5px;padding:7px;background-color:rgba(255, 112, 56, 0.98) !important;">
 
                                <asp:Label ID="lblHalfDayAbsentForEarlyDepartur" runat="server" Text="Early Going Rule" ForeColor="#FFFfff"></asp:Label>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="chkActiveEralygoing" runat="server" TabIndex="12" />&nbsp;<asp:Label ID="Label4" runat="server" Text=" Active For Week OFF also " ForeColor="#ffffff"></asp:Label>
                    </div>
                    <div class="col-md-3">
                        <div class="row"><div class="col-3"><span style="font-weight:800;">Early 1:</span></div><div class="col-9">
                        <b><asp:Label ID="lblEarlyDeparture" runat="server" Text="Deduct Day(%)"></asp:Label></b>[HH:MM]
                        <%--<input class="form-control" value="00:00" /> IN 00:00 Format--%>
                        <asp:TextBox ID="txtEalry1" runat="server" class="form-control" TabIndex="2" Width="110px">00:00</asp:TextBox></>
                        <b> <asp:Label ID="lblShowAsforEalryDeparture" runat="server" Text="Deduct Day(%)"></asp:Label></b>
                        <%--<input class="form-control" value="00:00" /> IN 00:00 Format--%>
                        <asp:DropDownList ID="cboEarlyded1" runat="server" class="form-control" Width="110px">
                           <asp:ListItem Value="0">None</asp:ListItem>
                             <asp:ListItem>10</asp:ListItem>
                           
                            <asp:ListItem>20</asp:ListItem>
                           
                            <asp:ListItem>30</asp:ListItem>
                            
                            <asp:ListItem>40</asp:ListItem>
                            
                            <asp:ListItem>50</asp:ListItem>
                          
                            <asp:ListItem>60</asp:ListItem>
                            
                            <asp:ListItem>70</asp:ListItem>
                            
                            <asp:ListItem>80</asp:ListItem>
                             
                            <asp:ListItem>90</asp:ListItem>
                            
                            <asp:ListItem>100</asp:ListItem>
                        </asp:DropDownList>
                        </div>
                        </div>
                    </div>
                    <div class="col-md-3">
                        <div class="row"><div class="col-3"><span style="font-weight:800;">Early 2: </span></div><div class="col-9">
                        <b><asp:Label ID="lblEarlyDeparture2" runat="server" Text="Early Departure"></asp:Label></b>[HH:MM]
                        <%--<input class="form-control" value="00:00" /> IN 00:00 Format--%>
                        <asp:TextBox ID="txtEalry2" runat="server" class="form-control" TabIndex="2" Width="110px">00:00</asp:TextBox></>
                        <b> <asp:Label ID="txtearlydrop2" runat="server" Text="Deduct Day(%)"></asp:Label></b>
                        <%--<input class="form-control" value="00:00" /> IN 00:00 Format--%>
                        <asp:DropDownList ID="cboEarlyded2" runat="server" class="form-control" Width="110px">
                           <asp:ListItem Value="0">None</asp:ListItem>
                             <asp:ListItem>10</asp:ListItem>
                           
                            <asp:ListItem>20</asp:ListItem>
                           
                            <asp:ListItem>30</asp:ListItem>
                            
                            <asp:ListItem>40</asp:ListItem>
                            
                            <asp:ListItem>50</asp:ListItem>
                          
                            <asp:ListItem>60</asp:ListItem>
                            
                            <asp:ListItem>70</asp:ListItem>
                            
                            <asp:ListItem>80</asp:ListItem>
                             
                            <asp:ListItem>90</asp:ListItem>
                            
                            <asp:ListItem>100</asp:ListItem>
                        </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-3">
                        <div class="row"><div class="col-3"><span style="font-weight:800;">Early 3:</span></div><div class="col-9">
                        <b> <asp:Label ID="lblEarlyDeparture3" runat="server" Text="Early Departure"></asp:Label> </b>[HH:MM]
                     
                        <asp:TextBox ID="txtEalry3" runat="server" TabIndex="4" class="form-control" Width="110px">00:00</asp:TextBox>
                        <b> <asp:Label ID="txtearlydrop3" runat="server" Text="Deduct Day(%)"></asp:Label></b>
                        <%--<input class="form-control" value="00:00" /> IN 00:00 Format--%>
                        <asp:DropDownList ID="cboEarlyded3" runat="server" class="form-control" Width="110px">
                            <asp:ListItem Value="0">None</asp:ListItem>
                             <asp:ListItem>10</asp:ListItem>
                           
                            <asp:ListItem>20</asp:ListItem>
                           
                            <asp:ListItem>30</asp:ListItem>
                            
                            <asp:ListItem>40</asp:ListItem>
                            
                            <asp:ListItem>50</asp:ListItem>
                          
                            <asp:ListItem>60</asp:ListItem>
                            
                            <asp:ListItem>70</asp:ListItem>
                            
                            <asp:ListItem>80</asp:ListItem>
                             
                            <asp:ListItem>90</asp:ListItem>
                            
                            <asp:ListItem>100</asp:ListItem>
                        </asp:DropDownList>
                        </div>
                        </div>
                    </div>
                    <div class="col-md-3">
                        <div class="row"><div class="col-3"><span style="font-weight:800;">Early 4:</span></div><div class="col-9">
                        <b><asp:Label ID="lblEarlyDeparture4" runat="server" Text="Early Departure"></asp:Label></b>[HH:MM]
                        <%--<input class="form-control" value="00:00" /> IN 00:00 Format--%>
                        <asp:TextBox ID="txtEalry4" runat="server" class="form-control" TabIndex="2" Width="110px">00:00</asp:TextBox></>
                        <b> <asp:Label ID="cboEarl1yded4" runat="server" Text="Deduct Day(%)"></asp:Label></b>
                        <%--<li> <button class="btn btn-success btn-lg" type="button"><i class="fa fa-save"></i> Save</button></li>

                                <li> <asp:Button ID="cmdsave" runat="server" class="btn btn-success btn-lg"
                    OnClick="cmdsave_Click" onclientclick="return validate()" Text="Save" 
                     /></li>--%>
                        <asp:DropDownList ID="cboEarlyded4" runat="server" class="form-control" Width="110px">
                            <asp:ListItem Value="0">None</asp:ListItem>
                             <asp:ListItem>10</asp:ListItem>
                           
                            <asp:ListItem>20</asp:ListItem>
                           
                            <asp:ListItem>30</asp:ListItem>
                            
                            <asp:ListItem>40</asp:ListItem>
                            
                            <asp:ListItem>50</asp:ListItem>
                          
                            <asp:ListItem>60</asp:ListItem>
                            
                            <asp:ListItem>70</asp:ListItem>
                            
                            <asp:ListItem>80</asp:ListItem>
                             
                            <asp:ListItem>90</asp:ListItem>
                            
                            <asp:ListItem>100</asp:ListItem>
                        </asp:DropDownList>
                        </div>
                        </div>
                    </div>
                     

                    <div class="col-lg-12 panel-heading" style="margin-top: 12px; margin-bottom:5px;">
                      <asp:Label ID="lblOtherEmployeePolicyDetails" runat="server" Text="Other Employee Policy Details" ForeColor="White"></asp:Label>
                    </div>
                    <div class="col-md-6">
                    <b><asp:Label ID="lblRequiredPunchesInDay" runat="server" Text="Required Punches In Day"></asp:Label></b>   
                        <%--<center style="font-family: Verdana; font-weight: bold; background-color: #FF8448; color: #000000;" >
            
                <asp:Button ID="cmdsave" runat="server" 
                    OnClick="cmdsave_Click" onclientclick="return validate()" Text="Save" 
                    Width="76px" Font-Bold="True" ForeColor="White" Height="27px" />
                <asp:Button ID="cmdcancel" runat="server" 
                    OnClick="cmdcancel_Click" Text="Cancel" Font-Bold="True" ForeColor="White" 
                    Height="27px" Width="67px" />
            
            </center>--%>
                        <asp:DropDownList ID="cboRequiredpunchinday" runat="server" TabIndex="15" class="form-control"
                            OnSelectedIndexChanged="DropDownList1_change" AutoPostBack="true">
                            <%--OnSelectedIndexChanged = "DropDownList1_change" AutoPostBack = "true"--%>
                            <asp:ListItem Value="5">MultiPunch</asp:ListItem>
                            <asp:ListItem Value="1">No Punch</asp:ListItem>
                            <%-- <asp:ListItem Value="2">Auto Departure</asp:ListItem>  --%>
                            <%--     <asp:ListItem Value="4">Four Punch</asp:ListItem>--%>
                        </asp:DropDownList>
                    </div>
                    <asp:TextBox ID="txtovertimerate" runat="server" Height="21px" MaxLength="7" TabIndex="14"
                        Width="64px" CssClass="style17" Visible="False"></asp:TextBox>
                    <div class="col-md-6">
                        <b><asp:Label ID="lblSinglePunchOnly" runat="server" Text="Single Punch Only"></asp:Label>*</b>
                        <%--<select class="form-control"><option></option><option></option></select>--%>
                        <asp:DropDownList ID="cbosinglepunchonly" runat="server" TabIndex="16" class="form-control">
                            <asp:ListItem Value="2">Overwrite</asp:ListItem>
                            <asp:ListItem Value="1">Fix Time Out</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                     <asp:Panel ID="Panel1" runat="server" Visible="false" CssClass="emp_policy_panel">
                    <!---------Panel 1---->
                    <div class="row" style="width:100%; margin-left:0px; margin-right:0px;">
                    <div class="col-lg-8" style="margin-top: 10px;">
                    <div class="panel panel-primary">
                    <div class="panel-heading" style="padding:5px;"><asp:CheckBox ID="chkLateactive" runat="server" TabIndex="12" OnCheckedChanged="chkLateactive_CheckedChanged" AutoPostBack="True" />&nbsp;&nbsp;<asp:Label ID="lblEnableLateCommingSetting" runat="server" Text="Enable Late  Comming Setting"></asp:Label></div>
                    <div class="panel-body" style="background:#eee; padding-top:8px; padding-bottom:0px;">
                    <div class="row">
                    <div class="col-lg-3 bold-fonts" style="padding-top:22px"> <asp:RadioButton ID="RdCutDays" runat="server" Checked="True" GroupName="cutday"
                                    Text="Deduct  From Attendance " OnCheckedChanged="RdCutDays_CheckedChanged" /></div>
                    <div class="col-lg-3 bold-fonts" style="padding-top:22px"><asp:RadioButton ID="RdCutLeave" runat="server" AutoPostBack="True" GroupName="cutday"
                                OnCheckedChanged="RdCutLeave_CheckedChanged" Text="Deduct Leave Balance" /></div>
                                            <div class="col-md-3" style="margin-top: 0px;">
                        <b> <asp:Label ID="lblNoOfLateInaMonth" runat="server" Text="No Of Late In a Month"></asp:Label></b>
                        <%--<select class="form-control"><option></option><option></option></select>--%>
                        <asp:DropDownList ID="Cbonooflate" runat="server" class="form-control" TabIndex="15">
                            <asp:ListItem Value="0"></asp:ListItem>
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>11</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="col-md-3" style="margin-top: -6px;">

                      <div class="form-group">
                      <label for="pwd"><asp:Label ID="lblCutDays" runat="server" Text="Cut Days"></asp:Label></label>
                      <ul class="list-inline" style="display: -webkit-box;">
                      <li class="bold-fonts">

                               <asp:DropDownList ID="DropDownList1" runat="server" class="form-control" TabIndex="15" Width="100px">
                            <asp:ListItem Value="0"></asp:ListItem>
                                    <asp:ListItem>0%</asp:ListItem>
                          
                            <asp:ListItem>10%</asp:ListItem>
                            <asp:ListItem>15%</asp:ListItem>
                            <asp:ListItem>20%</asp:ListItem>
                            <asp:ListItem>25%</asp:ListItem>
                            <asp:ListItem>30%</asp:ListItem>
                            <asp:ListItem>35%</asp:ListItem>
                            <asp:ListItem>40%</asp:ListItem>
                            <asp:ListItem>45%</asp:ListItem>
                            <asp:ListItem>50%</asp:ListItem>
                            <asp:ListItem>55%</asp:ListItem>
                            <asp:ListItem>60%</asp:ListItem>
                            <asp:ListItem>65%</asp:ListItem>
                            <asp:ListItem>60%</asp:ListItem>
                            <asp:ListItem>65%</asp:ListItem>
                            <asp:ListItem>70%</asp:ListItem>
                            <asp:ListItem>75%</asp:ListItem>
                            <asp:ListItem>80%</asp:ListItem>
                            <asp:ListItem>85%</asp:ListItem>
                            <asp:ListItem>90%</asp:ListItem>
                            <asp:ListItem>95%</asp:ListItem>
                            <asp:ListItem>100%</asp:ListItem>
                        </asp:DropDownList>
                      </li>
                       <li style="margin-left:35px;" class="bold-fonts"></li>
                      </ul>
                       </div>
  
                    </div>
                    </div>
                    </div>
                   </div>
                      
                    </div>
                    <div class="col-lg-4" style="margin-left:0px; margin-right:0px; margin-top:10px;">
                    <div class="panel panel-primary" style="width:100%">
                    <div class="panel-heading" style="padding:5px;"><asp:CheckBox ID="ChkShowLunchAsOt" runat="server" TabIndex="12" Text="" OnCheckedChanged="ChkShowLunchAsOt_CheckedChanged" />&nbsp;&nbsp; <asp:Label ID="lblOvertimeAllowIgnoreOvertime" runat="server" Text="Overtime Allow & Ignore Overtime "></asp:Label></div>
                    <div class="panel-body" style="background:#eee; padding-top:8px; padding-bottom:8px;">
                    <div class="row">

                       <div class="col-md-10" style="margin-top: 0px;">
                        <b> <asp:Label ID="lblIgnoreOvertime" runat="server" Text="Ignore Overtime (Less then Hrs.)"></asp:Label></b>[HH:MM]
                        <asp:TextBox ID="txtShowLunchAsOt" runat="server" class="form-control" TabIndex="14">00:00</asp:TextBox>
                    </div>
                    </div>
                    
                    </div>
                    </div>
                    </div>
                    </div>
      <!-----End Panel------>
      </asp:Panel>
                    <div class="col-lg-12" style="margin-top: 0px;">
                        <ol class="list-inline">
                            <li style="margin-right: 100px;"><b> </b></li>
                            <li style="margin-top:5px;">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <%--       <strong>Calculate OT In Days </strong>--%>
                                <asp:CheckBox ID="chkotcal" runat="server" Text="Enable" Visible="False" />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <strong>&nbsp; </strong>
                                <asp:CheckBox ID="chkmaxot" runat="server" Text="Max OT In A Month" Visible="False" />
                            </li>
                        </ol>
                    </div>
                 
                    <div class="col-md-4" style="visibility: hidden">
                        <b>No Of HRS. in {HH:mm format}</b>
                        <%--<input class="form-control" value="00:00" /> IN 00:00 Format--%>
                        <asp:TextBox ID="txtmoofhrs" runat="server" class="form-control" TabIndex="14">00:00</asp:TextBox>
                    </div>
                    <div class="col-md-4" style="visibility: hidden">
                        <b>Equal to Days</b>
                       
                        <asp:TextBox ID="txtequaltoday" runat="server" class="form-control" TabIndex="14">0</asp:TextBox>
                    </div>
                    <div class="col-md-4" style="visibility: hidden">
                        <b>Max OT Hrs in Month</b>
                        <%--<input class="form-control" value="00:00" /> IN 00:00 Format--%>
                        <asp:TextBox ID="txtotinmonth" runat="server" class="form-control" TabIndex="14">00:00</asp:TextBox>
                    </div>
                    <div class="col-md-4" style="visibility: hidden">
                        <b>Ignore OT Days Setting</b>
                        <%--<input class="form-control" value="00:00" /> IN 00:00 Format--%>
                        (MM/dd/yyyy,Date2,Date3,date4,Date5)<asp:TextBox ID="IgnoreOTSetting" runat="server"
                            class="form-control" TabIndex="14" Visible="False"></asp:TextBox>
                    </div>
                    <asp:CheckBox ID="chkhalfdaymaking" runat="server" TabIndex="10" Text="Half Day Making"
                        Checked="True" Visible="False" />
                    <asp:CheckBox ID="chkoverstayallow" runat="server" TabIndex="12" Text="Over Stay Allow"
                        Checked="True" Visible="False" />
                    <asp:CheckBox ID="chkovertimeallow" runat="server" Style="text-align: center" TabIndex="13"
                        Text="OverTimeAllow" Checked="True" Visible="False" />
                    <asp:CheckBox ID="chkroundclock" runat="server" TabIndex="8" Text="RoundThe Clock Working"
                        Width="" Checked="True" Font-Bold="False" Visible="False" />
                    <asp:CheckBox ID="chkshortleavemaking" runat="server" TabIndex="11" Text="Short Leave Making"
                        Checked="True" Visible="False" />
                    <asp:CheckBox ID="chkconsidertimeless" runat="server" TabIndex="9" Text="ConsiderTimeLess"
                        Checked="True" Visible="False" />
                    <asp:TextBox ID="txtlatetime" runat="server" Height="21px" MaxLength="7" TabIndex="14"
                        Width="64px" CssClass="style17" BackColor="#CCCCCC" Visible="False">00:00</asp:TextBox>
                          <%-- </asp:Panel>--%>
                </div>
                     
                 
             <%--   panel for hide--%>
                 
                 <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:-120px;">
                 <br />
                  <br />
                                              <ol>
 
                            <asp:Button ID="cmdsave" runat="server" Text="Save" OnClick="cmdsave_Click" OnClientClick="return validate()"
                                type="button" class="btn btn-success " /><i class="fa fa-plus;"></i>&nbsp;&nbsp;
                            <asp:Button ID="cmdcancel" runat="server" type="button" Text="Cancel" OnClick="cmdcancel_Click"
                                class="btn btn-danger" /><i class="fa fa-trash-o;"></i>
                          
                        </ol>
                 </div>
                </div>
              </div>
					
				</div>

            </div>
            </div>
            </div>
      <script src="js/jquery.minfd53.js"></script>
</asp:Content>
